package thread;

import entity.Producer;

public class P_Thread extends Thread{
		private Producer p;
		public P_Thread(Producer p){
			super();
			this.p=p;
		}
		public void run(){
			for(int i=0;i<3;i++){
				p.pushService();
			}
		}
}
